package com.codrim.cs.data.server.dao.entity.unique.key;

import com.codrim.cs.data.server.dao.param.StatCsUniqueKey;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Liang.Zhuge on 15/08/2017.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class StatCsAffOfferUniqueKey extends StatCsUniqueKey {
    private String symbol;
    private Integer affiliateId;
    private Integer offerId;

    private Float singlePutPrice;

    public StatCsAffOfferUniqueKey(int sdate, String symbol, Integer affiliateId,
            Integer offerId, Float singlePutPrice) {
        super(sdate);
        this.symbol = symbol;
        this.affiliateId = affiliateId;
        this.offerId = offerId;
        this.singlePutPrice = singlePutPrice;
    }
}
